<?php
use Workerman\Worker;
use GlobalData\Server;
require_once GKROOT . '/vendor/autoload.php';
require_once __DIR__ . '/src/Server.php';
$worker = new Server();
if(!defined('GLOBAL_START')){
    Worker::runAll();
}
